package cn.iocoder.yudao.module.ao.controller.admin.schedule.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 课程安排分页 Request VO")
@Data
public class SchedulePageReqVO extends PageParam {

    @Schema(description = "课程名称", example = "赵六")
    private String courseName;

    @Schema(description = "班级名称", example = "李四")
    private String className;

    @Schema(description = "教室地点")
    private String location;

    @Schema(description = "星期几（1-7，1表示周一，7表示周日）")
    private Integer dayOfWeek;

    @Schema(description = "时间段（1-5，对应第1-2节、第3-4节等）")
    private Integer timeSlot;

    @Schema(description = "周次（第几周）")
    private Integer weekNumber;

    @Schema(description = "用户ID（关联system_users表）", example = "621")
    private Long userId;

    @Schema(description = "教师姓名（冗余字段，方便查询）", example = "李四")
    private String teacherName;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}